<?php
// 应用公共文件

function show($status, $message="fail", $data=[], $httpStatus=200) {
    $result = [
        "status" => $status,
        "message" => $message,
        "result" => $data
    ];
    return json($result, $httpStatus);
}
